package com.siwei.mes.sync.erp.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 小票生产完成
 *
 * @Description: 小票生产完成
 * @Version: 1.0
 * @author: mlchen
 * @date: 2024/7/25 21:42
 */
@Data
public class ItemorderFinish {
    @JSONField(name = "ITID")
    @JsonProperty(value = "ITID")
    @ApiModelProperty(value = "小票id  ITID")
    private Integer ITID;
    @JSONField(name = "itemOrderNo")
    @JsonProperty(value = "itemOrderNo")
    @ApiModelProperty(value = "小票编号")
    private String itemOrderNo;
    // TODO: 2024/11/16 这里文档上面是这样 不确定是不是不对 按照文档走  linzi 
    @JSONField(name = "fromItemoderNo")
    @JsonProperty(value = "fromItemoderNo")
    @ApiModelProperty(value = "转料来源小票号")
    private String fromItemoderNo;
    @JSONField(name = "deliverCompanyId")
    @JsonProperty(value = "deliverCompanyId")
    @ApiModelProperty(value = "拌站id")
    private Integer deliverCompanyId;
    @JSONField(name = "uniqueKey")
    @JsonProperty(value = "uniqueKey")
    @ApiModelProperty(value = "唯一键")
    private String uniqueKey;
    @JSONField(name = "masterITID")
    @JsonProperty(value = "masterITID")
    @ApiModelProperty(value = "父小票id")
    private String masterITID;
    @JSONField(name = "hasSlave")
    @JsonProperty(value = "hasSlave")
    @ApiModelProperty(value = "1-一车多票的主票")
    private Integer hasSlave;
    @JSONField(name = "FRwdh")
    @JsonProperty(value = "FRwdh")
    @ApiModelProperty(value = "任务单号")
    private Integer FRwdh;
    @JSONField(name = "carNumber")
    @JsonProperty(value = "carNumber")
    @ApiModelProperty(value = "车号")
    private String carNumber;
    @JSONField(name = "vehicleId")
    @JsonProperty(value = "vehicleId")
    @ApiModelProperty(value = "车辆id")
    private Integer vehicleId;
    @JSONField(name = "driverName")
    @JsonProperty(value = "driverName")
    @ApiModelProperty(value = "司机姓名")
    private String driverName;
    @JSONField(name = "tpz")
    @JsonProperty(value = "tpz")
    @ApiModelProperty(value = "砼品种")
    private String tpz;
    @JSONField(name = "tld")
    @JsonProperty(value = "tld")
    @ApiModelProperty(value = "塌落度")
    private String tld;
    @JSONField(name = "jzbw")
    @JsonProperty(value = "jzbw")
    @ApiModelProperty(value = "浇筑部位")
    private String jzbw;
    @JSONField(name = "jzfs")
    @JsonProperty(value = "jzfs")
    @ApiModelProperty(value = "浇筑方式")
    private String jzfs;
    @JSONField(name = "projectName")
    @JsonProperty(value = "projectName")
    @ApiModelProperty(value = "工程名称")
    private String projectName;
    @JSONField(name = "projectAddress")
    @JsonProperty(value = "projectAddress")
    @ApiModelProperty(value = "工程地址")
    private String projectAddress;
    @JSONField(name = "remarks")
    @JsonProperty(value = "remarks")
    @ApiModelProperty(value = "备注")
    private String remarks;
    @JSONField(name = "receiveCompanyName")
    @JsonProperty(value = "receiveCompanyName")
    @ApiModelProperty(value = "收货方名字")
    private String receiveCompanyName;
    @JSONField(name = "fhQuantity")
    @JsonProperty(value = "fhQuantity")
    @ApiModelProperty(value = "总发货数量")
    private Float fhQuantity;
    @JSONField(name = "scQuantity")
    @JsonProperty(value = "scQuantity")
    @ApiModelProperty(value = "混凝土生产方量")
    private Float scQuantity;
    @JSONField(name = "sjscQuantity")
    @JsonProperty(value = "sjscQuantity")
    @ApiModelProperty(value = "砂浆生产方量")
    private Float sjscQuantity;
    @JSONField(name = "totalScQuantity")
    @JsonProperty(value = "totalScQuantity")
    @ApiModelProperty(value = "生产总方量")
    private Float totalScQuantity;
    @JSONField(name = "syQuantity")
    @JsonProperty(value = "syQuantity")
    @ApiModelProperty(value = "剩余方量")
    private Float syQuantity;
    @JSONField(name = "qrQuantity")
    @JsonProperty(value = "qrQuantity")
    @ApiModelProperty(value = "签收方量")
    private Float qrQuantity;
    @JSONField(name = "totalpan")
    @JsonProperty(value = "totalpan")
    @ApiModelProperty(value = "总盘数")
    private Integer totalpan;
    @JSONField(name = "paninfo")
    @JsonProperty(value = "paninfo")
    @ApiModelProperty(value = "各盘信息 json")
    private String paninfo;
    @JSONField(name = "finishQuantity")
    @JsonProperty(value = "finishQuantity")
    @ApiModelProperty(value = "累计方量")
    private Float finishQuantity;
    @JSONField(name = "finishCarNumber")
    @JsonProperty(value = "finishCarNumber")
    @ApiModelProperty(value = "累计车数")
    private Integer finishCarNumber;
    @JSONField(name = "mixtable")
    @JsonProperty(value = "mixtable")
    @ApiModelProperty(value = "拌台号")
    private String mixtable;
    @JSONField(name = "itemtype")
    @JsonProperty(value = "itemtype")
    @ApiModelProperty(value = "1-小票 2-水票")
    private Integer itemtype;
    @JSONField(name = "extrainfo")
    @JsonProperty(value = "extrainfo")
    @ApiModelProperty(value = "额外信息")
    private String extrainfo;
    @JSONField(name = "startTime")
    @JsonProperty(value = "startTime")
    @ApiModelProperty(value = "出厂时间")
    private String startTime;
    @JSONField(name = "arriveTime")
    @JsonProperty(value = "arriveTime")
    @ApiModelProperty(value = "到达时间")
    private String arriveTime;
    @JSONField(name = "leaveTime")
    @JsonProperty(value = "leaveTime")
    @ApiModelProperty(value = "离开时间")
    private String leaveTime;
    @JSONField(name = "signTime")
    @JsonProperty(value = "signTime")
    @ApiModelProperty(value = "签收时间")
    private String signTime;
    @JSONField(name = "returnTime")
    @JsonProperty(value = "returnTime")
    @ApiModelProperty(value = "回厂时间")
    private String returnTime;
    @JSONField(name = "isSign")
    @JsonProperty(value = "isSign")
    @ApiModelProperty(value = "是否签收")
    private Integer isSign;
    @JSONField(name = "state")
    @JsonProperty(value = "state")
    @ApiModelProperty(value = "0-作废 1-生产中(waiting) 2-运输中(finish) 3-已完成(complete)")
    private String state;
    @JSONField(name = "canceltype")
    @JsonProperty(value = "canceltype")
    @ApiModelProperty(value = "1- 生产中作废 2 - 生产完成作废")
    private String canceltype;
    @JSONField(name = "jlbIds")
    @JsonProperty(value = "jlbIds")
    @ApiModelProperty(value = "tgl小票号")
    private String jlbIds;
    @JSONField(name = "czy")
    @JsonProperty(value = "czy")
    @ApiModelProperty(value = "操作员")
    private String czy;
    @JSONField(name = "transportDistance")
    @JsonProperty(value = "transportDistance")
    @ApiModelProperty(value = "运距")
    private Float transportDistance;
    @JSONField(name = "THID")
    @JsonProperty(value = "THID")
    @ApiModelProperty(value = "砼行id")
    private Integer THID;
    @JSONField(name = "printcount")
    @JsonProperty(value = "printcount")
    @ApiModelProperty(value = "打印次数")
    private Integer printcount;
    @JSONField(name = "lastSyQuantity")
    @JsonProperty(value = "lastSyQuantity")
    @ApiModelProperty(value = "最后一次剩余方量")
    private Float lastSyQuantity;
    @JSONField(name = "rz")
    @JsonProperty(value = "rz")
    @ApiModelProperty(value = "容重")
    private Float rz;
    @JSONField(name = "ccQuantity")
    @JsonProperty(value = "ccQuantity")
    @ApiModelProperty(value = "出厂方量")
    private Float ccQuantity;
    @JSONField(name = "hcQuantity")
    @JsonProperty(value = "hcQuantity")
    @ApiModelProperty(value = "回厂方量")
    private Float hcQuantity;
    @JSONField(name = "ccsumQuantity")
    @JsonProperty(value = "ccsumQuantity")
    @ApiModelProperty(value = "累计出厂方量")
    private Float ccsumQuantity;
    @JSONField(name = "isPrint")
    @JsonProperty(value = "isPrint")
    @ApiModelProperty(value = "拌车称重打印 0：否 1：是")
    private Integer isPrint;
    @JSONField(name = "action")
    @JsonProperty(value = "action")
    @ApiModelProperty(value = "1:新增 2:更新 3:签收")
    private Integer action;
    @JSONField(name = "logId")
    @JsonProperty(value = "logId")
    @ApiModelProperty(value = "日志id")
    private Long logId;
}
